* {
    box-sizing: border-box;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Safari */
  -khtml-user-select: none;    /* Konqueror HTML */
  -moz-user-select: none;      /* Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* 标准语法 */
}

body {
    margin: 0;
}


::-webkit-scrollbar {
    display: none;
}

.s {
    display: inline-block;
    width: 100px;
    height: 100%;
    font-size: 20px;
}

.s:first-child {
    margin-left: 50px;
}

.s:last-child {
    margin-right: 50px;
}

#blood-box {
    position: fixed;
    top: 0;
    left: 0;
    padding: 10px;
    user-select: none;
}

#buff-box{
    position: fixed;
    width: 250px;
    height: 100px;
    top: 0;
    right: 60px;
    padding: 10px;
    user-select: none;
}

#speedBuffBox, #attackSpeedBuffBox, #pickupRangeBuffBox{
    margin-bottom: 10px;
    display: none;
}

.buff-item{
    display: flex;
}

.buff-item .buff-label{
    text-align: right;
    width: 150px;
    line-height: 8px;
    font-size: 10px;
    color: #555555;
    padding: 0 5px;
    opacity: 0.7;
    font-weight: 600;
    display: flex;
    justify-content: right;
}

.buff-item .buff-label svg{
    margin-top: -5px;
}

.buff-item .buff-border {
    width: 100px;
    height: 8px;
    border: .5px solid #000000;
    border-radius: 5px;
    overflow: hidden;
    background-color: #eeeeee;
    box-sizing: border-box;
}

.buff-item .buff-border .buff-content {
    width: 0;
    height: 100%;
    background-color: #45e6f8;
    border-radius: 5px;
}

#fps {
    position: fixed;
    top: 0;
    right: 0;
    padding: 10px;
    user-select: none;
    line-height: 30px;
    font-size: 13px;
    font-weight: 600;
    color: #555555;
    opacity: 0.7;
}

.pause-box {
    position: fixed;
    top: 50px;
    right: 0;
    padding: 0 10px;
    z-index: 1000;
}

.pause-icon {
    display: none;
    transition: all .3s;
    cursor: pointer;
}

.play-icon {
    display: none;
    transition: all .3s;
    cursor: pointer;
}

.pause-icon:hover, .play-icon:hover {
    transform: scale(1.05);
}

.pause-icon:active, .play-icon:active {
    transform: scale(1.05);
}

.blood-border {
    width: 100px;
    height: 18px;
    border: 1px solid #000000;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    background-color: #eeeeee;
}

.grade-box {
    line-height: 8px;
    font-size: 12px;
    color: #555555;
    display: flex;
    margin-top: 5px;
}

.grade-text {
    width: 35px;
}

.exp-border {
    width: 65px;
    height: 8px;
    border: 1px solid #000000;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    background-color: #eeeeee;
}

#exp {
    width: 0%;
    height: 100%;
    line-height: 8px;
    background-color: #0066CC;
    transition: width .3s;
    border-radius: 3px;
}

#blood {
    width: 100%;
    height: 100%;
    background-color: red;
    border-radius: 3px;
    transition: width .3s;
}

#bloodNumber {
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 16px;
    color: #ffffff;
    font-size: 12px;
    top: 0;
    left: 0;
    font-weight: 600;
}

.infoBox {
    margin: 8px 0;
    opacity: 0.7;
    color: #555555;
    font-size: 10px;
    line-height: 18px;
    font-weight: 600;
}

.info {
}

#mask {
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    display: none;
}

#popup {
    position: fixed;
    top: calc(50vh - 160px);
    left: calc(50vw - 160px);
    background-color: #ffffff;
    border-radius: 10px;
    width: 320px;
    /* height: 320px; */
    z-index: 1001;
    /* display: none; */
}


.popup-content {
    height: 260px;
    width: 100%;
    /* user-select: none; */
}

#popupButton-restart{
    display: none;
}

.popup-start {
    line-height: 260px;
    font-size: 15px;
    font-weight: 700;
    color: #444444;
    text-align: center;
}

.popup-score {
    line-height: 50px;
    padding-top: 80px;
    font-size: 15px;
    font-weight: 700;
    color: #444444;
    text-align: center;
}

.bottom-button {
    height: 60px;
    width: 100%;
    border-radius: 0 0 10px 10px;
    text-align: center;
    font-size: 18px;
    color: #444444;
    line-height: 60px;
    cursor: pointer;
    user-select: none;
}

.bottom-button:hover {
    background-color: #f0f0f0;
}

.bottom-button:active {
    background-color: #f0f0f0;
}


#skillPopup {
    position: fixed;
    top: calc(50vh - 160px);
    left: calc(50vw - 160px);
    background-color: #ffffff;
    border-radius: 10px;
    width: 320px;
    height: 320px;
    z-index: 1001;
    display: none;
}

.skill-popup-content {
    height: 260px;
    width: 320px;
    text-align: center;
    padding: 0 50px;
    box-sizing: border-box;
    user-select: none;
}

.skill-title {
    font-size: 12px;
    color: #444444;
    font-weight: 700;
    line-height: 50px;
    user-select: none;
}

.skill-box {
    display: inline-block;
    width: 100px;
    height: 100px;
    cursor: pointer;
    line-height: 30px;
    color: #444444;
    font-weight: 700;
    font-size: 12px;
    border-radius: 10px;
    user-select: none;
    padding: 20px 0;
    box-sizing: border-box;
    margin: 2px;
}

.skill-box:hover, .skill-box:active {
    background-color: #efefef;
}

.skill-box-active {
    background-color: #efefef;
}

.user-blood-border {
    position: fixed;
    width: 24px;
    height: 6px;
    border: .5px solid #000000;
    border-radius: 5px;
    overflow: hidden;
    background-color: #eeeeee;
    left: calc(50vw - 12px);
    top: calc(50vh - 18px);
    box-sizing: border-box;
    display: none;
}

#userBlood {
    width: 100%;
    height: 100%;
    background-color: red;
    transition: width .3s;
}



/*操作按钮*/
body {
    overflow: hidden;
}

.action-box {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid #000;
    position: absolute;
    top: 460px;
    left: calc(50% - 50px);
    box-sizing: border-box;
    opacity: 0.8;
}

.action {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #000;
    position: absolute;
    top: 500px;
    left: calc(50% - 10px);
    box-sizing: border-box;
    user-select: none;
    opacity: 0.8;
}